import Vue from 'vue'
import VRouter from 'vue-router'
Vue.use(VRouter)
export default new VRouter({
    routes:[
        {path:'/',redirect:'/index'},
        {path:'/index',component:resolve=>{require(['@/page/index'],resolve)}},
        {path:'/dingdan',component:resolve=>{require(['@/page/dingdan'],resolve)}},
        {path:'/faxian',component:resolve=>{require(['@/page/faxian'],resolve)}},
        {path:'/wode',component:resolve=>{require(['@/page/wode'],resolve)}},
        {path:'/stop/:idx',component:resolve=>{require(['@/page/stop'],resolve)}},
    ]
})
